.class public Lcom/instagram/android/feed/e/j;
.super Ljava/lang/Object;
.source "MediaLinkBroadcastHandler.java"


# static fields
.field private static final a:Landroid/content/IntentFilter;


# instance fields
.field private final b:Landroid/support/v4/app/Fragment;

.field private final c:Lcom/instagram/b/d;

.field private final d:Landroid/content/BroadcastReceiver;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    .line 32
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    sput-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    .line 33
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "Media.COMMENT_MENTION_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 34
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "Media.COMMENT_HASHTAG_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 35
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "Media.USER_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 36
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "Media.NUMBER_LIKES_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 37
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "Media.NUMBER_COMMENTS_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 38
    sget-object v0, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    const-string v1, "PeopleTag.BROADCAST_TAG_CLICKED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 39
    return-void
.end method

.method public constructor <init>(Landroid/support/v4/app/Fragment;)V
    .locals 2
    .parameter

    .prologue
    .line 108
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 44
    new-instance v0, Lcom/instagram/android/feed/e/k;

    invoke-direct {v0, p0}, Lcom/instagram/android/feed/e/k;-><init>(Lcom/instagram/android/feed/e/j;)V

    iput-object v0, p0, Lcom/instagram/android/feed/e/j;->d:Landroid/content/BroadcastReceiver;

    .line 109
    instance-of v0, p1, Lcom/instagram/b/d;

    if-nez v0, :cond_0

    .line 110
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Fragment was not an instance of AnalyticsModule."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 112
    :cond_0
    iput-object p1, p0, Lcom/instagram/android/feed/e/j;->b:Landroid/support/v4/app/Fragment;

    .line 113
    check-cast p1, Lcom/instagram/b/d;

    iput-object p1, p0, Lcom/instagram/android/feed/e/j;->c:Lcom/instagram/b/d;

    .line 114
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/feed/e/j;)Lcom/instagram/b/d;
    .locals 1
    .parameter

    .prologue
    .line 27
    iget-object v0, p0, Lcom/instagram/android/feed/e/j;->c:Lcom/instagram/b/d;

    return-object v0
.end method

.method static synthetic a(Landroid/content/Intent;Lcom/instagram/b/d;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 27
    invoke-static {p0, p1}, Lcom/instagram/android/feed/e/j;->b(Landroid/content/Intent;Lcom/instagram/b/d;)V

    return-void
.end method

.method static synthetic a(Landroid/content/Intent;Ljava/lang/String;Lcom/instagram/b/d;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 27
    invoke-static {p0, p1, p2}, Lcom/instagram/android/feed/e/j;->b(Landroid/content/Intent;Ljava/lang/String;Lcom/instagram/b/d;)V

    return-void
.end method

.method static synthetic b(Lcom/instagram/android/feed/e/j;)Landroid/support/v4/app/Fragment;
    .locals 1
    .parameter

    .prologue
    .line 27
    iget-object v0, p0, Lcom/instagram/android/feed/e/j;->b:Landroid/support/v4/app/Fragment;

    return-object v0
.end method

.method private static b(Landroid/content/Intent;Lcom/instagram/b/d;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 133
    invoke-static {}, Lcom/instagram/j/u;->a()Lcom/instagram/j/u;

    move-result-object v0

    const-string v1, "Media.EXTRA_MEDIA_ID"

    invoke-virtual {p0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/j/u;->b(Ljava/lang/String;)Lcom/instagram/j/l;

    move-result-object v1

    .line 137
    invoke-static {}, Lcom/instagram/service/d;->a()Lcom/instagram/service/d;

    move-result-object v0

    const-string v2, "Media.EXTRA_USER_ID"

    invoke-virtual {p0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/instagram/service/d;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/b/e;

    .line 141
    invoke-static {v0, v1, p1}, Lcom/instagram/h/a/e;->a(Lcom/instagram/android/model/b/e;Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 142
    return-void
.end method

.method private static b(Landroid/content/Intent;Ljava/lang/String;Lcom/instagram/b/d;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 125
    invoke-static {}, Lcom/instagram/j/u;->a()Lcom/instagram/j/u;

    move-result-object v0

    const-string v1, "Media.EXTRA_MEDIA_ID"

    invoke-virtual {p0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/j/u;->b(Ljava/lang/String;)Lcom/instagram/j/l;

    move-result-object v0

    .line 128
    invoke-static {p1, v0, p2}, Lcom/instagram/h/a/c;->a(Ljava/lang/String;Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 129
    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    .line 117
    iget-object v0, p0, Lcom/instagram/android/feed/e/j;->d:Landroid/content/BroadcastReceiver;

    sget-object v1, Lcom/instagram/android/feed/e/j;->a:Landroid/content/IntentFilter;

    invoke-static {v0, v1}, Lcom/instagram/n/d;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 118
    return-void
.end method

.method public b()V
    .locals 1

    .prologue
    .line 121
    iget-object v0, p0, Lcom/instagram/android/feed/e/j;->d:Landroid/content/BroadcastReceiver;

    invoke-static {v0}, Lcom/instagram/n/d;->a(Landroid/content/BroadcastReceiver;)V

    .line 122
    return-void
.end method
